<template>
  <form-item>
    <el-tabs v-model="activeName">
      <el-tab-pane name="1" label="属性">
        <attrComponent></attrComponent>
      </el-tab-pane>
      <el-tab-pane name="2" label="配置">
        <configComponent></configComponent>
      </el-tab-pane>
    </el-tabs>
  </form-item>
</template>

<script>
import attrComponent from './attr';
import configComponent from './config';
import common from '../../../mixin';
import formItem from '../../../common/formItem.vue';
// import { formList } from "./formList";
export default {
  name: 'VerticalBarTool',
  mixins: [common],
  components: {
    attrComponent,
    configComponent,
    formItem
  },

  data() {
    return {
      activeName: '1'
    };
  },
  computed: {
    echartsOptions: {
      get() {
        return this.component['__echartsOptions__'];
      },
      set(val) {
        this.component['__echartsOptions__'] = val;
      }
    }
  },
  props: {},
  mounted() {},
  methods: {}
};
</script>

<style lang="scss" scoped>
.take-care {
  padding: 10px;
  background-color: #0e1b36;
  margin-bottom: 20px;
}
.form {
  ::v-deep {
    .el-form-item {
      margin-bottom: 10px;
    }
    .el-collapse-item__content {
      padding: 15px;
    }
  }
}
.p1 {
  background-color: #5a5454;
  padding: 10px;
}
</style>